WheelEventParams

public interface WheelEventParams implements MouseEventParams

The DOM wheel event parameters.

Types

Link copied to clipboard
public final class Builder
A builder of WheelEventParams.

Functions

Link copied to clipboard
Returns a button pressed during events caused by pressing or releasing one or multiple buttons.
Link copied to clipboard
public int clickCount()
Returns the count of consecutive clicks that happened in a short amount of time for mouse events, such as "click", "mouseDown, "mouseUp".
Link copied to clipboard
Returns the location of the mouse cursor in the component's coordinate system at the time the event occurred.
Link copied to clipboard
Returns the delta units type.
Link copied to clipboard
public double deltaX()
Returns the number of units to scroll horizontally.
Link copied to clipboard
public double deltaY()
Returns the number of units to scroll vertically.
Link copied to clipboard
public boolean isBubbles()
Returns true if the event bubbles up through the DOM.
Link copied to clipboard
public boolean isCancelable()
Returns true if the event can be canceled, and therefore prevented as if the event never happened.
Link copied to clipboard
public boolean isTrusted()
Returns true if the event is trusted, and therefore was generated by a user action.
Link copied to clipboard
Returns the key modifiers that are applied to the event.
Link copied to clipboard
public MouseEventParams mouseParams()
Link copied to clipboard
Creates a new WheelEventParams builder.
Link copied to clipboard
Returns the location of the mouse cursor in the component's coordinate system at the time the event occurred.
Link copied to clipboard
Returns the location of the mouse cursor in the document coordinate system at the time the event occurred.
Link copied to clipboard
Returns the location of the mouse cursor in the screen's coordinate system at the time the event occurred.
Link copied to clipboard
public WheelEventParams self()